<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ListViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	List
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Content for Group "<%= Model.Group.Name %>"</h2>
    
    <div id="contentItemTable">
        <% Html.RenderPartial("ItemList", Model.Items); %>
    </div>
    
    <p><%= Html.ActionLink("Create a Content Item", "Create", new { id = Model.Group.ContentGroupId })%></p>
    
    <% using (Ajax.BeginDocumentReady()) { %>

        <%= Ajax.StripeTable("items") %>

    <% } %>
    
    <script type="text/javascript">

        function restripe()
        {
            stripeTable('items');
        }
    
    </script>

    
</asp:Content>
